first_name = "ada"
last_name = 'loveLace'
full_name = f"{first_name} {last_name}" # f字符串(format)，把花括号内变量替换成其值
                                        # f字符串是python3.6引入的
print(full_name)

print(f"Hello, {full_name.title()}!")

message = f"\t Hello, {full_name.title()}!\nNice to meet you! "   # \t制表符(tab)
                                                                # \n换行符
print(message)

message = message.strip()  # rstrip()删除字符串右端空白，lstrip()左端，strip()删除两端，\t\n也会被删除
# 所有调用的方法都不会直接改变原值，可通过赋值改变原变量的值
print(message)